@100p: 100%;
.transWhite(@transparent) {
    color: rgba(255, 255, 255, @transparent);
}

.hundredPercent(@widthP : 100%, @widthH : 100%) {
    width: @widthP;
    height: @widthH;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
}

body {
    background-repeat: no-repeat;
    background-position: 100%;
    background-size: 100% 100%;
    .wrapper {
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.2);
        padding-top: 5vmax;
        box-sizing: border-box;
        .song-img {
            position: relative;
            width: 50vmin;
            height: 50vmin;
            border: 1px solid #333;
            margin: 0 auto;
            .img-wrapper {
                .hundredPercent();
                img {
                    .hundredPercent();
                }
            }
        }
        .song-info {
            @height: 10.5rem;
            width: 100%;
            text-align: center;
            height: @height;
            margin-top: 3vmax;
            line-height: calc(@height / 3);
            .transWhite(0.6);
            .song-name {
                font-size: 2rem;
                .transWhite(0.8);
            }
        }
        .play-process {
            display: flex;
            height: 3rem;
            line-height: 3rem;
            .start-time,
            .end-time {
                .transWhite(0.8);
                width: 5rem;
                text-align: center;
            }
            .process-wrapper {
                flex: 1;
                position: relative;
                overflow: hidden;
                .process-back,
                .process-control {
                    position: absolute;
                    top: 50%;
                    width: 100%;
                    background-color: rgba(255, 255, 255, 0.2);
                    height: 2px;
                    border-radius: 10px;
                }
                .process-control {
                    background: rgba(255, 255, 255, 0.6);
                    transform: translateX(-100%);
                    .process-dot {
                        position: absolute;
                        right: 0;
                        top: 50%;
                        transform: translate(100%, -50%);
                        width: 1rem;
                        height: 2rem;
                        &::after {
                            display: block;
                            position: absolute;
                            top: 50%;
                            transform: translate(0, -50%);
                            left: 0;
                            content: "";
                            border-radius: 50%;
                            width: 0.5rem;
                            height: 0.5rem;
                            background-color: rgba(255, 255, 255, 0.6);
                        }
                    }
                }
            }
        }
        .play-control {
            display: flex;
            width: @100p;
            height: 5rem;
            position: absolute;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.2);
        }
        .btn {
            flex: 1; // border:1px solid #333;
            background-size: 1.5rem 1.5rem;
            background-repeat: no-repeat;
            background-position: 50%;
        }
        .btn-liked{
            background-image: url("../images/icon-like-solid.png")
        }
        .btn-like {
            background-image: url("../images/icon-like.png");
        }
        .btn-previous {
            background-image: url("../images/icon-prev.png");
        }
        .btn-play {
            background-image: url("../images/icon-play.png")
        }
        .btn-next {
            background-image: url("../images/icon-next.png")
        }
        .btn-list {
            background-image: url("../images/icon-playlist.png")
        }
    }
}